﻿//using Npgsql;
using OpenGauss.NET;

//var connString = @"Host=localhost;Port=8899;Username=postgres;Password=Icbc3333;Database=Mydb"; //
//var connString = @"Host=localhost;Port=5432;Username=postgres;Password=Icbc2222;Database=Mydb"; // wsl
//var connString = @"Host=localhost;Port=5433;Username=postgres;Password=Icbc3333;Database=Mydb"; // 外网机
var connString = @"Host=localhost;Port=7654;Username=fcj;Password=Icbc1111;Database=postgres"; // 外网机
//await using var conn = new NpgsqlConnection(connString);
using (var conn = new OpenGaussConnection(connString))
{
    await conn.OpenAsync();

    await conn.CloseAsync();
}
